Skip to content

Conversation

@hanouticelina
Copy link
Contributor

Fixes #923

This PR updates the task specs to rename the generate property to generation_parameters. This change aligns with the discussion in the issue.

Key changes:

  • Renamed generate to generation_parameters in the specs for automatic-speech-recognition, image-to-text, text-to-audio and text-to-speech tasks.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

For other reviewers, Inference API / Inference Endpoints won't support generation_parameters yet but since they already don't support generate, that's not a breaking change 😄

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner o👌

Copy link
Contributor

@SBrandeis SBrandeis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@hanouticelina
Copy link
Contributor Author

Thanks for the reviews! let's merge

@hanouticelina hanouticelina merged commit 1896180 into main Sep 30, 2024
5 checks passed
@hanouticelina hanouticelina deleted the rename-generate-field-in-task-specs branch September 30, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tasks] Mismatch between input specs and task pipelines expected generation

5 participants